﻿using System;
using System.Collections.Generic;
using System.Text;

using YouHP.Model;
using YouHP.BLL;
using YouHP.Utility;

namespace YouHP.Pages.Member
{
    public class AddTreatment : PatientBasePage
    {
        protected override void ShowPage()
        {
            base.ShowPage();

            if (IsPost)
            {
                HandlePost();
            }
            else
            {
                /*根据治疗id检索该治疗的基本信息*/
                int tId = RequestTools.GetQueryInt("id", -1);
                if (tId > 0)
                {
                    TreatmentInfo tInfo = TreatmentBLL.Instance.GetTreatmentInfo(tId);
                }
                else
                {
                    //处理出错信息
                }
            }
        }

        private void HandlePost()
        {

        }
    }
}
